/**
 * Description:
 * Class Name:ThreadExceptionTest
 * Date:2022/3/26 15:47
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第10章_异常处理._10_5_Java的异常跟踪栈;

public class ThreadExceptionTest implements Runnable{
    @Override
    public void run() {
        firstMethod();
    }
    public void firstMethod(){
        secondMethod();
    }
    public void secondMethod(){
        var a = 5;
        var b = 0;
        var c = a / b;
    }

    public static void main(String[] args) {
        new Thread(new ThreadExceptionTest()).start();
    }
}
